﻿@model IEnumerable<TreeNode>
<select>
    @foreach (var item in Model)
    {
        foreach (var c in item.children)
        {
            foreach (var d in c.children)
            {
                <option value="@d.id">@item.name-@c.name-@d.name</option>
            }
        }
    }
</select>
